﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<!doctype html>
<html lang="<%=PageLang%>">
<head>
<meta charset="utf-8">
<title><%=Channel[Name]%> - <%=Site[Name]%></title>
<link rel="stylesheet" href="<%=CommonPath%>aliui/skin/default/common.css">
<ali:Comment><link rel="stylesheet" href="S01/CHS/css/common.css"></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css">
<script>
var _page = 'index',
	_lang = '<%=ContentLang%>',
	_webPath = '<%=WebPath%>',
	_commonPath = '<%=CommonPath%>',
	_channelPath = '<%=Request.RawUrl.Substring(0, Request.RawUrl.LastIndexOf('/') + 1)%>',
	_lang_working = '正在操作...',
	_lang_operation_fail = '操作失败！',
	_lang_operation_success = '操作成功！',
	_lang_page_number_incorrect = '请输入正确的页数！',
	_lang_selection_empty = '没有选择任何项！',
	_lang_confirm_delete = '真的要删除吗？',
	_lang_required = '请输入内容！';
</script>
<!--[if lt IE 8]><script>document.createElement('section');</script><![endif]-->
</head>
<body>
<div class="header1">
	<div class="header1-left">
		<%If Convert.IsDBNull(Channel[Link])%>
			<img src="<%=ImagePath%>logo1.gif" alt="<%=Channel[Name]%>">
		<%Else%>
			<img src="<%=Channel[Link]%>" alt="<%=Channel[Name]%>">
		<%EndIf%>
	</div>
	<dl class="header1-right">
		<dt><i><b>您好，<%=User["Name"]%></b></i></dt>
		<dd>
			<div class="col">
				<select id="content-lang" data-ali-widget="combo">
					<ali:List Object="Language" Source="Manager.Languages">
						<ali:Record>
							<%If Convert.ToString(Ab) == ContentLang%>
								<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
							<%Else%>
								<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
							<%EndIf%>
						</ali:Record>
					</ali:List>
				</select>
			</div>
			<div class="col"><a href="" id="password"></a></div>
			<div class="col"><a href="<%=BuildUrl("logout")%>" id="logout"></a></div>
		</dd>
	</dl>
</div>

<ali:Tree Object="Template.Menu" Operation="AuthorizedList(Convert.ToString(Channel[TemplatePath]), 0)" Lang="PageLang">
	<div class="frame3">
		<div class="frame3-main">
			<!-- start="主菜单" -->
			<div class="menu">
				<ul>
					<ali:Record>
						<li><a href="" data-id="<%=["InstanceID"]%>"><%=Name%></a></li>
					</ali:Record>
				</ul>
			</div>
			<!-- end="主菜单" -->
		</div>
		<div class="frame3-side">
			<!-- start="预览菜单" -->
			<div class="block3"><a href="<%=WebPath%>" target="_blank">预览网站</a> | <a href="<%=WebPath%>debug/index.aspx" target="_blank">调试网站</a></div>
			<!-- end="预览菜单" -->
		</div>
	</div>
</ali:Tree>

<div class="frame1">
	<div class="frame1-left">
		<div class="ali-panel">
			<div class="ali-panel-header"><b>功能导航</b></div>
			<div class="ali-panel-body">
			</div>
		</div>
	</div>
	<div class="frame1-mid"></div>
	<div class="frame1-right">
		<div class="ali-navtab">
			<div class="ali-navtab-header"></div>
		</div>
	</div>
</div>

<!-- start="修改密码对话框" -->
<form id="password-dialog" data-title="修改密码">
	<table>
		<tbody>
			<tr>
				<th>用户名：</th>
				<td><input type="text" name="Name" size="15" class="ali-input" data-old="<%=User["Name"]%>"></td>
			</tr>
			<tr>
				<th>密码：</th>
				<td><input type="password" name="Password" size="15" class="ali-input"> 留空，则不修改</td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="2"><button type="submit">保存</button></td>
			</tr>
		</tfoot>
	</table>
</form>
<!-- end="修改密码对话框" -->

<script src="<%=CommonPath%>jquery/core.js"></script>
<script src="<%=CommonPath%>aliui/ali.min.js"></script>
<script src="<%=CommonPath%>IlgharIme.js"></script>
<script src="<%=JsPath%>common.js"></script>
</body>
</html>
